<template>
	<div>
		<mt-button type="primary" @click="show">primary</mt-button>
		<router-link to="/login">登录</router-link>
		<router-link to="/register">注册</router-link>
		<router-view></router-view>
	</div>
</template>

<script>
	import { MessageBox } from 'mint-ui';
	export default{
		data(){
			return {
				
			}
		},
		methods:{
			show(){
				MessageBox('提示', '操作成功');
			}
		}
	}
</script>

<style>
</style>
